/**
 * 
 */
package edu.gtcfla.km.appmodules.vo;

import java.io.Serializable;

import org.vsg.biz.BusinessEntityFactory;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import edu.gtcfla.km.UserPermission;

/**
 * @author vison
 *
 */
@JsonIgnoreProperties(value = {"entity"})
public class UserDirectPermissionListVO implements Serializable {
	
	private UserPermission entity;
	
	private String userName;

	private static BusinessEntityFactory entityFactory = BusinessEntityFactory.getInstance();
	
	public UserDirectPermissionListVO() {
		entity = entityFactory.create( UserPermission.class );
	}
	
	public UserDirectPermissionListVO(UserPermission entity) {
		this.entity = entity;
	}

	public String getId() {
		return entity.getId();
	}

	public void setId(String newId) {
		entity.setId(newId);
	}

	public String getCategoryId() {
		return entity.getCategoryId();
	}

	public void setCategoryId(String categoryId) {
		entity.setCategoryId(categoryId);
	}

	public String getUserId() {
		return entity.getUserId();
	}

	public void setUserId(String userId) {
		entity.setUserId(userId);
	}

	public short getKmAdding() {
		return entity.getKmAdding();
	}

	public void setKmAdding(short newValue) {
		entity.setKmAdding(newValue);
	}

	public short getKmEditing() {
		return entity.getKmEditing();
	}

	public void setKmEditing(short newValue) {
		entity.setKmEditing(newValue);
	}

	public short getKmDeleting() {
		return entity.getKmDeleting();
	}

	public void setKmDeleting(short newValue) {
		entity.setKmDeleting(newValue);
	}

	public short getKmView() {
		return entity.getKmView();
	}

	public void setKmView(short newValue) {
		entity.setKmView(newValue);
	}

	public short getCateAdding() {
		return entity.getCateAdding();
	}

	public void setCateAdding(short newValue) {
		entity.setCateAdding(newValue);
	}

	public short getCateEditing() {
		return entity.getCateEditing();
	}

	public void setCateEditing(short newValue) {
		entity.setCateEditing(newValue);
	}

	public short getCateDeleting() {
		return entity.getCateDeleting();
	}

	public void setCateDeleting(short newValue) {
		entity.setCateDeleting(newValue);
	}

	public short getIsAdmin() {
		return entity.getIsAdmin();
	}

	public void setIsAdmin(short newValue) {
		entity.setIsAdmin(newValue);
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public UserPermission getEntity() {
		return entity;
	}

	public void setEntity(UserPermission entity) {
		this.entity = entity;
	}

	public short getCateView() {
		return entity.getCateView();
	}

	public void setCateView(short newValue) {
		entity.setCateView(newValue);
	}
	
	
	
}
